package com.ls.smartcampus2.mapper;

import com.ls.smartcampus2.pojo.TreeHole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author dell
 */
@Mapper
@Repository
public interface TreeHoleMapper {
    /**
     *
     *
     * @param sid
     *
     * @param msgText
     * 插入树洞信息文本
     */
    void addTreeHoleMsg( int msgId,String sid,String msgText);
    void addTreeHoleImg(int msgId,String sid,String imgUrl);
    int queryMsgIdBySid(String sid);



}
